
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-line"></i>
                    <div class="name">line</div>
                    <div class="fontclass">.icon-line</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow"></i>
                    <div class="name">arrow</div>
                    <div class="fontclass">.icon-arrow</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-rou"></i>
                    <div class="name">肉</div>
                    <div class="fontclass">.icon-rou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-mima"></i>
                    <div class="name">密码</div>
                    <div class="fontclass">.icon-mima</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fankui"></i>
                    <div class="name">关闭</div>
                    <div class="fontclass">.icon-fankui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chenggong2icon"></i>
                    <div class="name">成功</div>
                    <div class="fontclass">.icon-chenggong2icon</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-duigou"></i>
                    <div class="name">对勾</div>
                    <div class="fontclass">.icon-duigou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-diaoliaoganza"></i>
                    <div class="name">调料干杂</div>
                    <div class="fontclass">.icon-diaoliaoganza</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-circled-angle-downwards"></i>
                    <div class="name">arrow</div>
                    <div class="fontclass">.icon-circled-angle-downwards</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-circled-angle-upwards"></i>
                    <div class="name">arrow</div>
                    <div class="fontclass">.icon-circled-angle-upwards</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lajitong"></i>
                    <div class="name">垃圾桶</div>
                    <div class="fontclass">.icon-lajitong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kefu"></i>
                    <div class="name">客服</div>
                    <div class="fontclass">.icon-kefu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiaoxi"></i>
                    <div class="name">消息</div>
                    <div class="fontclass">.icon-xiaoxi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-liangyouganhuo"></i>
                    <div class="name">粮油、干货</div>
                    <div class="fontclass">.icon-liangyouganhuo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-niunairupin"></i>
                    <div class="name">牛奶、乳品</div>
                    <div class="fontclass">.icon-niunairupin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-angle-b-copy"></i>
                    <div class="name">实心箭头下</div>
                    <div class="fontclass">.icon-angle-b-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jianguo"></i>
                    <div class="name">坚果</div>
                    <div class="fontclass">.icon-jianguo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guanbi01"></i>
                    <div class="name">下一个</div>
                    <div class="fontclass">.icon-guanbi01</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huidaodingbu"></i>
                    <div class="name">回到顶部</div>
                    <div class="fontclass">.icon-huidaodingbu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow1"></i>
                    <div class="name">arrow</div>
                    <div class="fontclass">.icon-arrow1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gouxuan"></i>
                    <div class="name">勾选</div>
                    <div class="fontclass">.icon-gouxuan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yanzhengma"></i>
                    <div class="name">验证码</div>
                    <div class="fontclass">.icon-yanzhengma</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-copy-copy"></i>
                    <div class="name">arrow</div>
                    <div class="fontclass">.icon-arrow-copy-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dengluzhanghao"></i>
                    <div class="name">登录-账号</div>
                    <div class="fontclass">.icon-dengluzhanghao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-12binggangaodian"></i>
                    <div class="name">饼干糕点</div>
                    <div class="fontclass">.icon-12binggangaodian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gouxuan1"></i>
                    <div class="name">勾选</div>
                    <div class="fontclass">.icon-gouxuan1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gouwuche2"></i>
                    <div class="name">购物车2</div>
                    <div class="fontclass">.icon-gouwuche2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoucangjia"></i>
                    <div class="name">收藏夹</div>
                    <div class="fontclass">.icon-shoucangjia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shangxin"></i>
                    <div class="name">00000-伤心</div>
                    <div class="fontclass">.icon-shangxin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tiaoliao"></i>
                    <div class="name">调料</div>
                    <div class="fontclass">.icon-tiaoliao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow2"></i>
                    <div class="name">arrow</div>
                    <div class="fontclass">.icon-arrow2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cha"></i>
                    <div class="name">茶</div>
                    <div class="fontclass">.icon-cha</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fangbianshipin"></i>
                    <div class="name">方便食品</div>
                    <div class="fontclass">.icon-fangbianshipin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fa-headphones"></i>
                    <div class="name">笑脸</div>
                    <div class="fontclass">.icon-fa-headphones</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiayiye"></i>
                    <div class="name">下一页</div>
                    <div class="fontclass">.icon-xiayiye</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tab_potato_heighlight"></i>
                    <div class="name">猫豆</div>
                    <div class="fontclass">.icon-tab_potato_heighlight</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
